﻿<ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
                    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml">
    <Style x:Key="BigRadioButton" TargetType="{x:Type RadioButton}">
        <Setter Property="FontSize" Value="29" />
        <Setter Property="Height" Value="40" />
        <Setter Property="Template">
            <Setter.Value>
                <ControlTemplate TargetType="{x:Type RadioButton}">
                    <StackPanel Orientation="Horizontal">
                        <ContentPresenter x:Name="ContentPresenter" HorizontalAlignment="{TemplateBinding HorizontalContentAlignment}" 
                                            Content="{TemplateBinding Content}" TextElement.Foreground="#031f4b"
                                            ContentTemplate="{TemplateBinding ContentTemplate}"
							                RecognizesAccessKey="True" Margin="{TemplateBinding Padding}"
							                SnapsToDevicePixels="{TemplateBinding SnapsToDevicePixels}" 
							                VerticalAlignment="Center" TextBlock.Foreground="White" />
                        <Image x:Name="RadioButtonImage" HorizontalAlignment="Left" VerticalAlignment="Center" 
									Stretch="Fill" Source="/Skins/Resource/Image/RadioButton-Unchecked.png" 
                               Width="26" Height="26" />
                    </StackPanel>
                    <ControlTemplate.Triggers>
                        <Trigger Property="IsChecked" Value="True">
                            <Setter TargetName="RadioButtonImage" Property="Source" Value="/Skins/Resource/Image/RadioButton-Checked.png" />
                        </Trigger>
                        <Trigger Property="IsMouseOver" Value="True">
                            <Setter TargetName="RadioButtonImage" Property="Opacity" Value="0.5" />
                        </Trigger>
                        <Trigger Property="IsPressed" Value="True">
                            <Setter TargetName="ContentPresenter" Property="TextBlock.Foreground" Value="DarkGray" />
                        </Trigger>
                    </ControlTemplate.Triggers>
                </ControlTemplate>
            </Setter.Value>
        </Setter>
    </Style>
</ResourceDictionary>